programming4us
           
 
 
Windows

Windows 7 Customization : Stopping Delete Confirmations

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
10/22/2010 6:17:20 PM
My biggest Windows pet peeves center around tasks that require you to jump through extra hoops that are totally unnecessary. In Windows XP, for example, clicking the Shut Down command on the Start menu doesn’t shut down your computer, at least not right away. Instead, a dialog box shows up and you need to click Shut Down yet again. Dumb!

Another unnecessary dialog box that shows up in all versions of Windows is the “Are you sure you want to move this file to the Recycle Bin?” prompt that pops up when you press Delete. Now you either need to move your hand to the mouse to click Yes, or you can keep your hands on the keyboard by pressing Alt+Y. Either way, it’s an extra step that just slows you down.

One way to avoid this confirmation dialog box is to click and drag the file you want to delete and then drop it on the desktop’s Recycle Bin icon. That’s nice to know, but most of us rarely see our desktops these days, so this method is not very practical.

A much better solution is to configure Recycle Bin to not display the confirmation dialog box at all. Here’s how it’s done:

1.
Right-click the desktop’s Recycle Bin icon and then click Properties. Windows 7 displays the Recycle Bin’s property sheet.

2.
Click to deactivate the Display Delete Confirmation Dialog check box.

3.
Click OK to put the new setting into effect.

Now let’s consider this tweak from the opposite point of view. The reason Windows displays the delete confirmation dialog box by default is to prevent you from accidentally deleting a file. You and I are savvy, knowledgeable users, so we know when we want to delete something, but not everyone falls into this boat. If you have young kids or elderly folks who use Windows, you know that the delete confirmation dialog box is an excellent safeguard for these and other inexperienced users.

In that case, you might be wondering if there’s a way to ensure that a novice user can’t turn off the delete confirmation dialog box. Yes, in fact, there is, although it’s a bit harder to implement because it involves changing a policy setting on the user’s computer. A policy setting is a kind of rule that an administrator applies to a Windows system, and that rule can’t be overridden except by another administrator. To apply a policy setting, you use the Local Group Policy Editor.

Note

The Local Group Policy Editor is available only with Professional, Enterprise, and Ultimate versions of Windows 7. If you’re not running one of these versions, I’ll show you how to perform the same tweak using the Registry.


You can use two ways to prevent a user from turning off delete confirmations:

  • Disable the Display Delete Confirmation Dialog check box that appears in the Recycle Bin’s property sheet.

  • Disable the Recycle Bin’s Properties command so that the user can’t display the Recycle Bin’s property sheet.

Follow these steps to implement one of these policies:

1.
On the other user’s computer, click Start, type gpedit.msc, and then press Enter to select the gpedit program that appears in the search results.

2.
Open the User Configuration branch.

3.
Open the Administrative Templates branch.

4.
Display the property sheet of the policy you want to use, as follows:

  • If you want to disable the Display Delete Confirmation Dialog check box, open the Windows Components branch and then click Windows Explorer. Double-click the policy named Display Confirmation Dialog When Deleting Files. If you don’t have access to the Group Policy Editor, open the Registry Editor and create a DWORD setting named ConfirmFileDelete with the value 1 in the following key:

    HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  • If you want to disable the Recycle Bin’s Properties command, click Desktop and then double-click the Remove Properties from the Recycle Bin Context Menu policy. If you don’t have access to the Group Policy Editor, open the Registry Editor and create a DWORD setting named NoPropertiesRecycleBin with the value 1 in the following key:

    HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Note

The Remove Properties from the Recycle Bin Context Menu policy has a misleading name because, when enabled, the policy disables some but, strangely, not all instances of the Recycle Bin’s Properties command. For example, if the user displays the desktop in a folder window and clicks Recycle Bin, the Properties command is disabled in both the Organize menu and the File menu. However, the Properties command is still enabled when you right-click the Recycle Bin icon the desktop, but choosing the command only displays an error message.

5.
Click the Enabled option.

6.
Click OK to put the policy into effect.

Figure 1 shows the Recycle Bin property sheet with the Display Confirmation Dialog When Deleting Files policy in effect. As you can see, the Display Delete Confirmation Dialog check box is activated and disabled, so the setting can’t be changed.

Figure 1. With the Display Confirmation Dialog When Deleting Files policy in effect, the Display Delete Confirmation Dialog check box is activated and disabled.

Other -----------------
- Windows 7 : Managing a User Account - Limiting Computer Access
- Windows 7 : Managing a User Account
- Windows 7 : Understanding User Accounts and Permissions
- Windows Azure : Diagnostics
- Windows Azure : Common Storage Tasks - Utilizing Concurrent Updates
- Windows Azure : Common Storage Tasks - Modeling Data
- Windows Azure : Exploring Full-Text Search (part 3)
- Windows Azure : Exploring Full-Text Search (part 2) - Building an FTS Engine on Azure
- Windows Azure : Exploring Full-Text Search (part 1) - Indexing
- Windows Azure: Building a Secure Backup System (part 6) - Uploading Efficiently Using Blocks
- Windows Azure: Building a Secure Backup System (part 5)
- Windows Azure: Building a Secure Backup System (part 4)
- Windows Azure: Building a Secure Backup System (part 3)
- Windows Azure: Building a Secure Backup System (part 2) - Protecting Data in Motion
- Windows Azure: Building a Secure Backup System (part 1)
- Understanding Windows Azure Roles
- The Windows Azure Tool Set
- Windows Azure Table Overview (part 2) - Azure Tables Versus Traditional Databases
- Windows Azure Table Overview (part 1) - Core Concepts
- Exploring Group Policy in Windows 7
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us